<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>index</title>
    <style>
        .menu {
            width: 200px;
            height: 150px;
            border: 1px solid #ccc;
            margin-right: 20px;
            float: left;
            text-align: center;
        }
    </style>
</head>
<body>
<h1>主页</h1>
<div class="menu">
    <h2>menu1</h2>
    <a th:href="@{/menu1/1}">menu1_1</a><br>
    <a th:href="@{/menu1/2}">menu1_2</a><br>
    <a th:href="@{/menu1/3}">menu1_3</a><br>
</div>
<div class="menu">
    <h2>menu2</h2>
    <a th:href="@{/menu2/1}">menu2_1</a><br>
    <a th:href="@{/menu2/2}">menu2_2</a><br>
    <a th:href="@{/menu2/3}">menu2_3</a><br>
</div>
<div class="menu">
    <h2>menu3</h2>
    <a th:href="@{/menu3/1}">menu3_1</a><br>
    <a th:href="@{/menu3/2}">menu3_2</a><br>
    <a th:href="@{/menu3/3}">menu3_3</a><br>
</div>
</body>
</html>